package com.sharemarking.system.dto;

import java.util.List;

public class Page<T> {
	private int pageNum;
	private int pageSize;
	private long total;
	private List<T> content;
	
	public Page(int pageNum,int pageSize,int total,List<T> content) {
		this.pageNum=pageNum;
		this.pageSize=pageSize;
		this.total=total;
		this.content=content;
	}
	
	public int getPageNum() {
		return pageNum;
	}
	public void setPageNum(int pageNum) {
		this.pageNum = pageNum;
	}
	public int getPageSize() {
		return pageSize;
	}
	public void setPageSize(int pageSize) {
		this.pageSize = pageSize;
	}
	public long getTotal() {
		return total;
	}
	public void setTotal(long total) {
		this.total = total;
	}
	public List<T> getContent() {
		return content;
	}
	public void setContent(List<T> content) {
		this.content = content;
	}
}
